/**
 * jims
 */
package com.jims.master.modules.sync.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 检查项目部位Entity
 * @author lijl
 * @version 2018-03-18
 */
public class ExamItemLocation extends DataEntity<ExamItemLocation> {
	
	private static final long serialVersionUID = 1L;
	private String applyId;		// 检查申请主表ID
	private String itemId;		// 检查申请子id
	private String locationId;		// 部位对照Id
    private String locationName; //部位名称
	
	public ExamItemLocation() {
		super();
	}

	public ExamItemLocation(String id){
		super(id);
	}

	@Length(min=1, max=64, message="检查申请主表ID长度必须介于 1 和 64 之间")
	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}
	
	@Length(min=0, max=64, message="检查申请子id长度必须介于 0 和 64 之间")
	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	
	@Length(min=1, max=100, message="部位对照Id长度必须介于 1 和 100 之间")
	public String getLocationId() {
		return locationId;
	}

	public void setLocationId(String locationId) {
		this.locationId = locationId;
	}
	
    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }
}